package com.aiyun.securiy.login.web;

import javax.persistence.GeneratedValue;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LogController {

	@GetMapping("/login-success")
	public String loginSuccess(){
		return "Login success!";
	}


	@GetMapping("/login-error")
	public String loginFailure(){
		return "login error";
	}
}
